package cn.itcast.service;

import cn.itcast.entity.Result;

import java.util.Map;


/**
 * 手机端发送验证码
 */
public interface LoginService {

    /**
     * 登录异步
     * @param phone
     * @return
     */
   Boolean sendSmsToPhone(String phone);

   Result login(Map<String,String>map);

}
